<div class="test" style="width: 100%; height: 100px; border: 1px solid;">

</div>
<?php /*?>
<!-- <div id="Banner"> -->
<!-- 	<div class="viewCityHead"> -->
<!-- 		<ul id="hori_nav"> -->
<!-- 			<li class="active" title="Rao vặt tại Hà Nội"><a href="#" -->
<!-- 				title="Rao vặt tại Hà Nội">Category</a> <span class="left"></span> <span -->
<!-- 				class="right"></span> <span class="arrBottom">&nbsp;</span></li> -->
<!-- 			<li class="active" title="Rao vặt tại Hà Nội"><a href="#" -->
				title="Rao vặt tại Hà Nội">Phí Tư vấn : <?php if($consultingFees == 0) echo 'Free'; else echo $consultingFees; ?>
<!-- 			</a> <span class="left"></span> <span class="right"></span></li> -->
<!-- 		</ul> -->
<!-- 	</div> -->
<!-- </div> -->
<!-- <div id="RequestBar"> -->
<!-- 	<div -->
		style="float: left; width: 100%; padding-top: 5px; *padding-top: 15px">
		<div id="BarConditions" style="display: block">
			<div id="content-bar" style="display: block">
				<?php  foreach ($arrCat as $itemCategory){?>
<!-- 				<div class="item-condition"> -->
					<!-- VinhHQ, 07112012, added new title property -->
					<a href="#" title=""><?php echo $itemCategory['UserCat']['cat_name'] ;?>
<!-- 					</a> -->
<!-- 				</div> -->
				<?php }?>
<!-- 			</div> -->
<!-- 		</div> -->
<!-- 	</div> -->
<!-- </div> -->
// <?php 
// echo $this->element('Nav/Consultants');
// ?>
<!-- <div id="Banner"> -->
<!-- 	<div class="viewCityHead"> -->
<!-- 		<ul id="hori_nav" class="Note"> -->
<!-- 			<li class="active" title="Rao vặt tại Hà Nội"><p>Ghi chép</p><span class="left"></span> <span -->
<!-- 				class="right"></span> <span class="arrBottom">&nbsp;</span></li> -->
<!-- 		</ul> -->
<!-- 	</div> -->
<!-- </div> -->
<div class="comment-block comments clearfix" style="margin: 5px 0px 5px 5px; ">
// <?php if(!isset($Permission)){?>
	<div class="box-comemnts clearfix" style="display: none;">
<!-- 		<form action="/Consultants" method="post" name="frm_comment"> -->
			<p class="title_comment" style="margin-left: 5px;">
<!-- 				 <input type="text" class="tb7"name="tieude" value placeholder="Tiêu đề ghi chép của bạn*" /> -->
<!-- 			</p> -->
<!-- 			<p class="bottom clearfix"> -->
<!-- 				<textarea class="type-coms" name="comment" id="" cols="30" rows="10"  placeholder="Tiêu đề ghi chép của bạn*"></textarea> -->
<!-- 			</p> -->
<!-- 			<p class="btn-gc"> -->
<!-- 				<input class="styled-button-2" type="submit" value="Gửi"> -->
<!-- 			</p> -->
<!-- 		</form> -->
<!-- 	</div> -->
// <?php
// }
// if(!empty($arrCommit)){
//  foreach ($arrCommit as $item){
// ?>
<!-- 	<div class="item-comment clearfix"> -->
<!-- 		<dl class="item-pub "> -->
<!-- 			<dt> -->
				<a href="#"><img alt="" src="<?php echo $userinfo['avata'];?>"> </a>
<!-- 			</dt> -->
<!-- 			<dd> -->
<!-- 				<div class="item-news"> -->
<!-- 					<p class="title"> -->
						<a href="#"><b><?php echo $item['Commit']['Commit']['title']?></b> </a>
<!-- 					</p> -->
					<p class="desc-news clearfix"><?php echo $item['Commit']['Commit']['content']?></p>
<!-- 					<p class="hint"> -->
<!-- 						<span class="icon-faqs">Gửi 3 phút trước</span> - Có <span -->
							class="black-clr" style="color: rgb(34, 34, 34);">3</span> bình
<!-- 						luận - <a href="#">Sửa</a> - <a href="#">Xóa</a> -->
<!-- 					</p> -->
<!-- 				</div> -->
<!-- 			</dd> -->
<!-- 		</dl> -->
<!-- 		<dl class="comment-cont-sub clearfix"> -->
		<?php foreach ($item['Comment'] as $itemCommit){?>
<!-- 			<dt> -->
				<img class="avata_reply" alt="Avatar" src="<?php echo $itemCommit['Comments']['avata_user_comment'] ?>">
<!-- 			</dt> -->
<!-- 			<dd class="reply_comment"> -->
<!-- 				<p class="view_reply"> -->
					<a href="#"><b><?php echo $itemCommit['Comments']['user_name_comments']?></b> </a> 
					<?php echo $itemCommit['Comments']['comment']?>
<!-- 				</p> -->
<!-- 				<p class="hint"> -->
<!-- 					<span class="icon-faqs">Gửi 3 phút trước</span> - <a href="#">Báo -->
<!-- 						lạm dụng</a> -->
<!-- 				</p> -->
<!-- 			</dd> -->
			<?php }?>
			<form <?php if(isset($checkreply)){?>action="/Consultants/index?uid=<?php echo $uid;?>"<?php  }else {?>action="/Consultants/index"<?php }?>name="frm_reply" method="post">
<!-- 				<p class="clearfix add-comment"> -->
<!-- 					<textarea class="type-coms" name="reply" id="" cols="30" rows="10"  placeholder="Bình luận của bạn*"></textarea> -->
<!-- 				</p> -->
<!-- 				<p class="btn-comment"> -->
<!-- 					<input class="styled-button-2 Reply" type="submit" value="Reply"> -->
<!-- 				</p> -->
				<input type="hidden" value="<?php echo $item['Commit']['Commit']['id']?>" name="CommitId">
				<input type="hidden" value="<?php echo $item['Commit']['Commit']['user_id']?>" name="user_id_comit">
<!-- 			</form> -->
<!-- 		</dl> -->
<!-- 	</div> -->
/<?php /*}}?>
<!-- </div> -->
<!-- <script type="text/javascript"> -->
$(document).ready(function(){
	$('.Reply').click(function(){

	});
	$('input[name=tieude]').keydown(function(){
		$(this).text('');
	});
	$('#hori_nav .Note').click(function(){
		$('span .arrBottom').toggle("slow");
	});
	$('#hori_nav p').click(function(){
		$('.box-comemnts').toggle("slow");
	});
	$('input[name=username]').click(function(){
		$('.icon_complete').toggle('display,block');
	});

	$('.icon_complete').click(function(){
		var user = $('input[name=username]').val();
        $.ajax({
            beforeSend:function(){
                var srcImg = '/img/load_ajax.png';
                $(".loadajax").html('<img class="icon_complete" src="'+srcImg+'" />');
            },

            type: 'POST',
            url: '/Consultants/ajaxUpdatename',
            data: {'fullname' :user},
            dataType: 'json',
            success: function(data){
                console.log(data);
                $('img.icon_complete').toggle('display,none');
                
            }
        });


	});
});
<!-- </script> -->
<?php */ ?>